#include <iostream>
#include <string>
#include "worker0.h"
using std::cin;
using std::cout;
using std::endl;

const int LIM = 4;

int main(int argc, char const *argv[])
{
    freopen("input.txt", "r", stdin);

    Waiter liuxh03("liuxh03", 300L, 3);
    Singer liuxh04("liuxh04", 400L, 4);
    Waiter liuxh01;
    Singer liuxh02;
    
    Worker * pw[LIM] = {&liuxh03, &liuxh04, &liuxh01, &liuxh02};
    int i;
    for ( i = 2; i < LIM; i++)
    {
        pw[i]->Set();
    }
    
    for ( i = 0; i < LIM; i++)
    {
        pw[i]->Show();
        cout << endl;
    }
    


    return 0;
}
